package com.sinothk.hussars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sinothk.hussars.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 检查记录作废表
 * </p>
 *
 * @author liangyt
 * @since 2021-01-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tab_record_invalid")
@ApiModel(value="RecordInvalidEntity对象", description="检查记录作废表")
public class RecordInvalidEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "检查记录Id")
    private String recordId;

    @ApiModelProperty(value = "创建人Id")
    private String creatorId;

    @ApiModelProperty(value = "作废申请人Id")
    private String applicantId;

    @ApiModelProperty(value = "被检查人")
    private String checkeeId;

    @ApiModelProperty(value = "状态 0待审核 1已通过 2已拒接")
    private Integer state;

    @ApiModelProperty(value = "作废申请时间")
    private Date createDate;

    @ApiModelProperty(value = "是否作废 0正常 1作废")
    @TableField("isInvalid")
    private Integer isinvalid;

    @ApiModelProperty(value = "作废说明")
    private String reason;


}
